<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">















<head>
<title>注册新的帐号</title> 
<meta http-equiv="Content-Type" content="text/html" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="keywords" content=" " />
<meta name="description" content=" "/>
<script>
   var countryCodeListJson = [{"code":"+355","country":"阿尔巴尼亚","resourceKey":"country.code.Albania"},{"code":"+213","country":"阿尔及利亚","resourceKey":"country.code.Algeria"},{"code":"+93","country":"阿富汗","resourceKey":"country.code.Afghanistan"},{"code":"+54","country":"阿根廷","resourceKey":"country.code.Argentina"},{"code":"+971","country":"阿拉伯联合酋长国","resourceKey":"country.code.UnitedArabEmirates"},{"code":"+968","country":"阿曼","resourceKey":"country.code.Oman"},{"code":"+994","country":"阿塞拜疆","resourceKey":"country.code.Azerbaijan"},{"code":"+20","country":"埃及","resourceKey":"country.code.Egypt"},{"code":"+251","country":"埃塞俄比亚","resourceKey":"country.code.Ethiopia"},{"code":"+353","country":"爱尔兰","resourceKey":"country.code.Ireland"},{"code":"+372","country":"爱沙尼亚","resourceKey":"country.code.Estonia"},{"code":"+376","country":"安道尔共和国","resourceKey":"country.code.Andorra"},{"code":"+244","country":"安哥拉","resourceKey":"country.code.Angola"},{"code":"+1268","country":"安提瓜和巴布达","resourceKey":"country.code.AntiguaandBarbuda"},{"code":"+43","country":"奥地利","resourceKey":"country.code.Austria"},{"code":"+61","country":"澳大利亚","resourceKey":"country.code.Australia"},{"code":"+853","country":"澳门","resourceKey":"country.code.Macao"},{"code":"+675","country":"巴布亚新几内亚","resourceKey":"country.code.PapuaNewGuinea"},{"code":"+1242","country":"巴哈马","resourceKey":"country.code.Bahamas"},{"code":"+92","country":"巴基斯坦","resourceKey":"country.code.Pakistan"},{"code":"+595","country":"巴拉圭","resourceKey":"country.code.Paraguay"},{"code":"+973","country":"巴林","resourceKey":"country.code.Bahrain"},{"code":"+507","country":"巴拿马","resourceKey":"country.code.Panama"},{"code":"+55","country":"巴西","resourceKey":"country.code.Brazil"},{"code":"+375","country":"白俄罗斯","resourceKey":"country.code.Belarus"},{"code":"+359","country":"保加利亚","resourceKey":"country.code.Bulgaria"},{"code":"+229","country":"贝宁","resourceKey":"country.code.Benin"},{"code":"+32","country":"比利时","resourceKey":"country.code.Belgium"},{"code":"+354","country":"冰岛","resourceKey":"country.code.Iceland"},{"code":"+48","country":"波兰","resourceKey":"country.code.Poland"},{"code":"+387","country":"波斯尼亚黑塞哥维那","resourceKey":"country.code.BosniaandHerzegovina"},{"code":"+591","country":"玻利维亚","resourceKey":"country.code.Bolivia"},{"code":"+501","country":"伯利兹","resourceKey":"country.code.Belize"},{"code":"+267","country":"博茨瓦纳","resourceKey":"country.code.Botswana"},{"code":"+975","country":"不丹","resourceKey":"country.code.Bhutan"},{"code":"+226","country":"布基纳法索","resourceKey":"country.code.BurkinaFaso"},{"code":"+257","country":"布隆迪","resourceKey":"country.code.Burundi"},{"code":"+850","country":"朝鲜","resourceKey":"country.code.DemocraticPeoplesRepublicofKorea"},{"code":"+240","country":"赤道几内亚","resourceKey":"country.code.EquatorialGuinea"},{"code":"+45","country":"丹麦","resourceKey":"country.code.Denmark"},{"code":"+49","country":"德国","resourceKey":"country.code.Germany"},{"code":"+228","country":"多哥","resourceKey":"country.code.Togo"},{"code":"+1809","country":"多米尼加共和国","resourceKey":"country.code.DominicanRepublic"},{"code":"+7","country":"俄罗斯","resourceKey":"country.code.Russia"},{"code":"+593","country":"厄瓜多尔","resourceKey":"country.code.Ecuador"},{"code":"+33","country":"法国","resourceKey":"country.code.France"},{"code":"+63","country":"菲律宾","resourceKey":"country.code.Philippines"},{"code":"+679","country":"斐济","resourceKey":"country.code.Fiji"},{"code":"+358","country":"芬兰","resourceKey":"country.code.Finland"},{"code":"+220","country":"冈比亚","resourceKey":"country.code.Gambia"},{"code":"+242","country":"刚果","resourceKey":"country.code.RepublicoftheCongo"},{"code":"+57","country":"哥伦比亚","resourceKey":"country.code.Colombia"},{"code":"+506","country":"哥斯达黎加","resourceKey":"country.code.CostaRica"},{"code":"+1473","country":"格林纳达","resourceKey":"country.code.Grenada"},{"code":"+995","country":"格鲁吉亚","resourceKey":"country.code.Georgia"},{"code":"+53","country":"古巴","resourceKey":"country.code.Cuba"},{"code":"+592","country":"圭亚那","resourceKey":"country.code.Guyana"},{"code":"+7","country":"哈萨克斯坦","resourceKey":"country.code.Kazakhstan"},{"code":"+509","country":"海地","resourceKey":"country.code.Haiti"},{"code":"+82","country":"韩国","resourceKey":"country.code.RepublicofKorea"},{"code":"+31","country":"荷兰","resourceKey":"country.code.Netherlands"},{"code":"+599","country":"荷属安的列斯","resourceKey":"country.code.NetherlandsAntilles"},{"code":"+382","country":"黑山共和国","resourceKey":"country.code.Montenegro"},{"code":"+504","country":"洪都拉斯","resourceKey":"country.code.Honduras"},{"code":"+253","country":"吉布提","resourceKey":"country.code.Djibouti"},{"code":"+996","country":"吉尔吉斯坦","resourceKey":"country.code.Kyrgyzstan"},{"code":"+224","country":"几内亚","resourceKey":"country.code.Guinea"},{"code":"+1","country":"加拿大","resourceKey":"country.code.Canada"},{"code":"+233","country":"加纳","resourceKey":"country.code.Ghana"},{"code":"+241","country":"加蓬","resourceKey":"country.code.Gabon"},{"code":"+855","country":"柬埔寨","resourceKey":"country.code.Cambodia"},{"code":"+420","country":"捷克","resourceKey":"country.code.CzechRepublic"},{"code":"+263","country":"津巴布韦","resourceKey":"country.code.Zimbabwe"},{"code":"+237","country":"喀麦隆","resourceKey":"country.code.Cameroon"},{"code":"+974","country":"卡塔尔","resourceKey":"country.code.Qatar"},{"code":"+225","country":"科特迪瓦","resourceKey":"country.code.IvoryCoast"},{"code":"+965","country":"科威特","resourceKey":"country.code.Kuwait"},{"code":"+385","country":"克罗地亚","resourceKey":"country.code.Croatia"},{"code":"+254","country":"肯尼亚","resourceKey":"country.code.Kenya"},{"code":"+599","country":"库拉索","resourceKey":"country.code.Curacao"},{"code":"+371","country":"拉脱维亚","resourceKey":"country.code.Latvia"},{"code":"+266","country":"莱索托","resourceKey":"country.code.Lesotho"},{"code":"+856","country":"老挝","resourceKey":"country.code.Laos"},{"code":"+961","country":"黎巴嫩","resourceKey":"country.code.Lebanon"},{"code":"+370","country":"立陶宛","resourceKey":"country.code.Lithuania"},{"code":"+231","country":"利比里亚","resourceKey":"country.code.Liberia"},{"code":"+218","country":"利比亚","resourceKey":"country.code.Libya"},{"code":"+423","country":"列支敦士登","resourceKey":"country.code.Liechtenstein"},{"code":"+352","country":"卢森堡","resourceKey":"country.code.Luxembourg"},{"code":"+40","country":"罗马尼亚","resourceKey":"country.code.Romania"},{"code":"+261","country":"马达加斯加","resourceKey":"country.code.Madagascar"},{"code":"+960","country":"马尔代夫","resourceKey":"country.code.Maldives"},{"code":"+356","country":"马耳他","resourceKey":"country.code.Malta"},{"code":"+265","country":"马拉维","resourceKey":"country.code.Malawi"},{"code":"+60","country":"马来西亚","resourceKey":"country.code.Malaysia"},{"code":"+223","country":"马里","resourceKey":"country.code.Mali"},{"code":"+389","country":"马其顿","resourceKey":"country.code.Macedonia"},{"code":"+230","country":"毛里求斯","resourceKey":"country.code.Mauritius"},{"code":"+222","country":"毛里塔尼亚","resourceKey":"country.code.Mauritania"},{"code":"+1","country":"美国","resourceKey":"country.code.UnitedStatesofAmerica"},{"code":"+976","country":"蒙古","resourceKey":"country.code.Mongolia"},{"code":"+880","country":"孟加拉国","resourceKey":"country.code.Bangladesh"},{"code":"+51","country":"秘鲁","resourceKey":"country.code.Peru"},{"code":"+95","country":"缅甸","resourceKey":"country.code.Burma"},{"code":"+243","country":"民主刚果","resourceKey":"country.code.DemocraticRepublicoftheCongo"},{"code":"+373","country":"摩尔多瓦","resourceKey":"country.code.Moldova"},{"code":"+212","country":"摩洛哥","resourceKey":"country.code.Morocco"},{"code":"+377","country":"摩纳哥","resourceKey":"country.code.Monaco"},{"code":"+258","country":"莫桑比克","resourceKey":"country.code.Mozambique"},{"code":"+52","country":"墨西哥","resourceKey":"country.code.Mexico"},{"code":"+264","country":"纳米比亚","resourceKey":"country.code.Namibia"},{"code":"+27","country":"南非","resourceKey":"country.code.SouthAfrica"},{"code":"+977","country":"尼泊尔","resourceKey":"country.code.Nepal"},{"code":"+505","country":"尼加拉瓜","resourceKey":"country.code.Nicaragua"},{"code":"+227","country":"尼日尔","resourceKey":"country.code.Niger"},{"code":"+234","country":"尼日利亚","resourceKey":"country.code.Nigeria"},{"code":"+47","country":"挪威","resourceKey":"country.code.Norway"},{"code":"+351","country":"葡萄牙","resourceKey":"country.code.Portugal"},{"code":"+81","country":"日本","resourceKey":"country.code.Japan"},{"code":"+46","country":"瑞典","resourceKey":"country.code.Sweden"},{"code":"+41","country":"瑞士","resourceKey":"country.code.Switzerland"},{"code":"+503","country":"萨尔瓦多","resourceKey":"country.code.ElSalvador"},{"code":"+381","country":"塞尔维亚","resourceKey":"country.code.Serbia"},{"code":"+232","country":"塞拉利昂","resourceKey":"country.code.SierraLeone"},{"code":"+221","country":"塞内加尔","resourceKey":"country.code.Senegal"},{"code":"+357","country":"塞浦路斯","resourceKey":"country.code.Cyprus"},{"code":"+248","country":"塞舌尔","resourceKey":"country.code.Seychelles"},{"code":"+966","country":"沙特阿拉伯","resourceKey":"country.code.SaudiArabia"},{"code":"+239","country":"圣多美和普林西比","resourceKey":"country.code.SaoTomeandPrincipe"},{"code":"+378","country":"圣马力诺","resourceKey":"country.code.SanMarino"},{"code":"+94","country":"斯里兰卡","resourceKey":"country.code.SriLanka"},{"code":"+421","country":"斯洛伐克","resourceKey":"country.code.Slovakia"},{"code":"+386","country":"斯洛文尼亚","resourceKey":"country.code.Slovenia"},{"code":"+268","country":"斯威士兰","resourceKey":"country.code.Swaziland"},{"code":"+249","country":"苏丹","resourceKey":"country.code.Sudan"},{"code":"+597","country":"苏里南","resourceKey":"country.code.Suriname"},{"code":"+992","country":"塔吉克斯坦","resourceKey":"country.code.Tajikistan"},{"code":"+886","country":"台湾省","resourceKey":"country.code.Taiwan"},{"code":"+66","country":"泰国","resourceKey":"country.code.Thailand"},{"code":"+255","country":"坦桑尼亚","resourceKey":"country.code.Tanzania"},{"code":"+676","country":"汤加","resourceKey":"country.code.Tonga"},{"code":"+1868","country":"特立尼达和多巴哥","resourceKey":"country.code.TrinidadandTobago"},{"code":"+216","country":"突尼斯","resourceKey":"country.code.Tunisia"},{"code":"+90","country":"土耳其","resourceKey":"country.code.Turkey"},{"code":"+993","country":"土库曼斯坦","resourceKey":"country.code.Turkmenistan"},{"code":"+502","country":"危地马拉","resourceKey":"country.code.Guatemala"},{"code":"+58","country":"委内瑞拉","resourceKey":"country.code.Venezuela"},{"code":"+673","country":"文莱","resourceKey":"country.code.Brunei"},{"code":"+256","country":"乌干达","resourceKey":"country.code.Uganda"},{"code":"+380","country":"乌克兰","resourceKey":"country.code.Ukraine"},{"code":"+598","country":"乌拉圭","resourceKey":"country.code.Uruguay"},{"code":"+998","country":"乌兹别克斯坦","resourceKey":"country.code.Uzbekistan"},{"code":"+34","country":"西班牙","resourceKey":"country.code.Spain"},{"code":"+30","country":"希腊","resourceKey":"country.code.Greece"},{"code":"+852","country":"香港","resourceKey":"country.code.HongKong"},{"code":"+65","country":"新加坡","resourceKey":"country.code.Singapore"},{"code":"+64","country":"新西兰","resourceKey":"country.code.NewZealand"},{"code":"+36","country":"匈牙利","resourceKey":"country.code.Hungary"},{"code":"+963","country":"叙利亚","resourceKey":"country.code.Syria"},{"code":"+1876","country":"牙买加","resourceKey":"country.code.Jamaica"},{"code":"+374","country":"亚美尼亚","resourceKey":"country.code.Armenia"},{"code":"+967","country":"也门","resourceKey":"country.code.Yemen"},{"code":"+964","country":"伊拉克","resourceKey":"country.code.Iraq"},{"code":"+98","country":"伊朗","resourceKey":"country.code.Iran"},{"code":"+972","country":"以色列","resourceKey":"country.code.Israel"},{"code":"+39","country":"意大利","resourceKey":"country.code.Italy"},{"code":"+91","country":"印度","resourceKey":"country.code.India"},{"code":"+62","country":"印度尼西亚","resourceKey":"country.code.Indonesia"},{"code":"+44","country":"英国","resourceKey":"country.code.UnitedKingdom"},{"code":"+962","country":"约旦","resourceKey":"country.code.Jordan"},{"code":"+84","country":"越南","resourceKey":"country.code.Vietnam"},{"code":"+260","country":"赞比亚","resourceKey":"country.code.Zambia"},{"code":"+235","country":"乍得","resourceKey":"country.code.Chad"},{"code":"+56","country":"智利","resourceKey":"country.code.Chile"},{"code":"+236","country":"中非共和国","resourceKey":"country.code.CentralAfricanRepublic"},{"code":"+86","country":"中国","resourceKey":"country.code.China"}];
   var js_pro_json = {"js.pro.country.code.option.other":"其他"};
</script>
<script src="/accounts/js/jquery-1.7.1.js"></script>
<script src="/accounts/js/sso-properties.js"></script>
<link rel="Stylesheet" href="css/public.css?ver=v3r33" type="text/css" />
<link rel="Stylesheet" href="css/only.css?ver=v3r33" type="text/css" />
<script src="/accounts/js/register.js?ver=v3r33"></script>
<script src="/accounts/js/countryCodeList.js?ver=v3r33"></script>
</head>

<body>  





<script src="/accounts/js/jquery-1.7.1.js"></script>
<script src="/accounts/js/layer/layer.js"></script>
<script language="javascript">

	var showflag = 'no';
	var expiredflag = 'null';
	if(showflag == "show"){
		if(expiredflag == "yes"){
			window.location="/accounts/upgrade-to-remind.jsp";
		}else{
			var isagain = getCookie("isagain");
			if(isagain != "yes"){
				$(function(){ 
					layer.open({
					    type: 2, 
					    title: '&nbsp;',
					    fix: false,
					    shadeClose: true,
					    maxmin: true,
					    shift: 1,
					    scrollbar: false,
					    area: ['1000px', '450px'],
					    content: ['/accounts/upgrade-to-remind.jsp','no']
					  });
				});
			}
		}
	}
	
	function setCookie(name,value) {
		var exp = new Date();
		exp.setTime(exp.getTime() + 24*60*60*1000);
		document.cookie = name + "="+ escape (value) + ";expires=" + exp.toGMTString();
	}
	
	function getCookie(name){
		var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)");
		if(arr=document.cookie.match(reg))
			return unescape(arr[2]);
		else
			return null;
	}
</script>
 

<form name="registerInfoForm" method="post" action="/accounts/register.do">

<input type="hidden" name="method" value="toRegister">
<input type="hidden" name="lang" value="">
<input type="hidden" name="redirectUrl" value="https%3A%2F%2Fwww.huawei.com%2Fcn%2F">
<input type="hidden" name="requirestrongpassword" value="0">

<div id="swap">
<div id="header_box">
  <div id="header"><a href="http://www.huawei.com" title="HUAWEI"><img src="images/header_logo.png?version=2.0" alt="Logo" border="0"></a></div>
</div>
<div id="mainbox">
    <div id="content_title">
	    <h1>&nbsp;&nbsp;注册 <font>注册新的帐号</font></h1>
	    <span>
	    	 <!-- modify by cwx341547 2016-03-30 国际化修改-->
	    	



<link rel="stylesheet" href="css/lang-change.css"  type="text/css" />
<script type="text/javascript" src="js/lang-change.js"></script>
  <ul class="topmenu" clearfix="" id="jq_topmenu">
	<li class="webnav"   style="background:none"> 
	       <strong class="icon_arr"> 简体中文 (中国) </strong>
			<div class="jq_hidebox" style="display: none; " block;="">
			 
			
			  

                  <div class="language_option_ar_sa_ltr">
					<a href="javascript:changeLanguage('zh_CN');"
						title="简体中文 (中国)">
						 简体中文 (中国)
					</a>
					</div>
					
				
			
			
			  

                  <div class="language_option_ar_sa_ltr">
					<a href="javascript:changeLanguage('en_US');"
						title="English (United States)">
						 English (United States)
					</a>
					</div>
					
				
			
			
			  

                  <div class="language_option_ar_sa_ltr">
					<a href="javascript:changeLanguage('fr_FR');"
						title="français (France)">
						 français (France)
					</a>
					</div>
					
				
			
			
			  

                  <div class="language_option_ar_sa_ltr">
					<a href="javascript:changeLanguage('de_DE');"
						title="Deutsch (Deutschland)">
						 Deutsch (Deutschland)
					</a>
					</div>
					
				
			
			
			  

                  <div class="language_option_ar_sa_ltr">
					<a href="javascript:changeLanguage('it_IT');"
						title="italiano (Italia)">
						 italiano (Italia)
					</a>
					</div>
					
				
			
			
			  

                  <div class="language_option_ar_sa_ltr">
					<a href="javascript:changeLanguage('es_ES');"
						title="español (España)">
						 español (España)
					</a>
					</div>
					
				
			
			
			  

                  <div class="language_option_ar_sa_ltr">
					<a href="javascript:changeLanguage('ru_RU');"
						title="Русский (Россия)">
						 Русский (Россия)
					</a>
					</div>
					
				
			
			
			  

                  <div class="language_option_ar_sa_ltr">
					<a href="javascript:changeLanguage('tr_TR');"
						title="Türkçe (Türkiye)">
						 Türkçe (Türkiye)
					</a>
					</div>
					
				
			
			
			  

                  <div class="language_option_ar_sa_ltr">
					<a href="javascript:changeLanguage('pt_BR');"
						title="português (Brasil)">
						 português (Brasil)
					</a>
					</div>
					
				
			
			
			  

                  <div class="language_option_ar_sa_ltr">
					<a href="javascript:changeLanguage('th_TH');"
						title="ไทย (ภาษาไทย)">
						 ไทย (ภาษาไทย)
					</a>
					</div>
					
				
			
			
			  

                  <div class="language_option_ar_sa_ltr">
					<a href="javascript:changeLanguage('es_MX');"
						title="español (México)">
						 español (México)
					</a>
					</div>
					
				
			
			
			  

                  <div class="language_option_ar_sa_ltr">
					<a href="javascript:changeLanguage('ja_JP');"
						title="日本語 (日本)">
						 日本語 (日本)
					</a>
					</div>
					
				
			
			
			  

                  <div class="language_option_ar_sa_ltr">
					<a href="javascript:changeLanguage('pl_PL');"
						title="polski (Polska)">
						 polski (Polska)
					</a>
					</div>
					
				
			
			
			  

                  <div class="language_option_ar_sa_ltr">
					<a href="javascript:changeLanguage('in_ID');"
						title="Bahasa Indonesia (Indonesia)">
						 Bahasa Indonesia (Indonesia)
					</a>
					</div>
					
				
			
			
			  

                  <div class="language_option_ar_sa_ltr">
					<a href="javascript:changeLanguage('my_MM');"
						title="Burmese (Myanmar)">
						 Burmese (Myanmar)
					</a>
					</div>
					
				
			
			
			  
					<div class="language_option_ar_sa_rtl">
					<a href="javascript:changeLanguage('ar_SA');"
						title="العربية (المملكة العربية السعودية )">
						 العربية (المملكة العربية السعودية )
					</a>
					</div>
				
				
			
			
			  

                  <div class="language_option_ar_sa_ltr">
					<a href="javascript:changeLanguage('vi_VN');"
						title="Tiếng Việt (Việt Nam)">
						 Tiếng Việt (Việt Nam)
					</a>
					</div>
					
				
			
			
			  
					<div class="language_option_ar_sa_rtl">
					<a href="javascript:changeLanguage('fa_IR');"
						title="فارسی (ایران)">
						 فارسی (ایران)
					</a>
					</div>
				
				
			
			
			  

                  <div class="language_option_ar_sa_ltr">
					<a href="javascript:changeLanguage('en_MY');"
						title="English (Malaysia)">
						 English (Malaysia)
					</a>
					</div>
					
				
			  
		</div>
		 
	</li>
  </ul>
	 
	    </span>
	    <span>	
	       
		 </span>
	       <span style="direction: ltr;">
	    	<a href="https://uniportal.huawei.com/uniportal?redirect=https%3A%2F%2Fwww.huawei.com%2Fcn%2F&nls=zh_CN"> 登录</a>&nbsp;&nbsp;|
	    </span>
	    <div class="clearBoth"></div>
	</div>
	
	<div id="content">
		<div id="content_top"></div>
				
				
					
						












 
<div class="register_pw">
<div class="reset_tab_box">
    
	<span onClick="switchto('byEmail');" class="set_offtab" id="js_tabon">
		邮箱注册
	</span>
	
	<span onClick="switchto('byPhone');" class="set_ontab" id="tab_phone">
		手机注册
	</span>
</div>
<input type="hidden"  id="pcode" name="pcode" value="2048" />
<input type="hidden"  id="regsiterMethod" name="regsiterMethod" value="byPhone" />
<div class="clearBoth"></div>
<div class="register_main_box">
		<input type="hidden" name="redirect" value="https%3A%2F%2Fwww.huawei.com%2Fcn%2F"> 
		<input type="hidden" name="language" value="zh_CN">
		<input type="hidden" name="registerVO.redirect_url" value="https%3A%2F%2Fwww.huawei.com%2Fcn%2F">
		<div class="register_message">
			<a id="message"></a> <span id="spanmessage" class="redtips">  </span>
		</div>
		<div class="register_oneline">
			<div class="register_text">
				国家/地区
				<span class="register_redstar">*</span>
			</div>
			
			<select id="countryCodeSelect" tabindex='1' class="inputBgLine register_select" onchange="setCountryCodeByCountry(this.value)" ></select>
			<input type="text" name="registerVO.countryCode" size="30" tabindex="2" value="+86" onkeyup="setCountryByCountryCode(this.value,'')" onblur="checkCountryCode()" onfocus="clearSysMsg();" class="inputBgLine register_countrycode_input" id="registerVO.countryCode">
        	<span class="redtips" id="spancountrycode">
        		 
        	</span>
		</div>
		<!-- mobile -->
		<div class="register_oneline">
			<div class="register_text">
				手机号码
				<span class="register_redstar">*</span>
			</div>
			
			<input type="text" name="registerVO.officePhone" size="30" tabindex="3" value="" onblur="hideTip('phone_phone_tips');btnVerifyMobile_onClick();" onfocus="clearSysMsg();showTip('phone_phone_tips');" class="inputBgLine register_input" id="registerVO.officePhone">
        	<span class="redtips" id="spanofficephoneinfo">
        		 
        	</span>
		</div>
		<!-- 
		<div class="register_oneline" >
				<div class="register_text"></div>
				<input type="checkbox" tabindex='3' class="agree_input" style="margin-left: 20px;" id="receiveInfoPush" name="receiveInfoPush" value="0" checked="checked"/> 
				是否接受消息推送
				<input type="hidden"  id="registerVO.isReceiveInfoPush" name="registerVO.isReceiveInfoPush" />
		</div> -->
		<!-- password -->
		<div class="register_oneline">
			<div class="register_text">
				密码
				<span class="register_redstar">*</span>
			</div>
			
			<input type="password" name="registerVO.password" size="30" tabindex="4" value="" onblur="hideTip('phone_pwd_tips');checkPassword();" onfocus="clearSysMsg();showTip('phone_pwd_tips');" class="inputBgLine register_input" id="registerVO.password">
			<span class="redtips" id="spanpwdinfo">
			 
			</span>				
		</div>

		<!-- confirm password -->
		<div class="register_oneline">
			<div class="register_text">
				确认密码
				<span class="register_redstar">*</span>
			</div>
			
			<input type="password" name="registerVO.repassword" size="30" tabindex="5" value="" onblur="hideTip('phone_repwd_tips');checkRepassword();" onfocus="clearSysMsg();showTip('phone_repwd_tips');" class="inputBgLine register_input" id="registerVO.repassword">
			<span class="redtips" id="spanrepwdinfo">
				 
			</span>	
		</div>
		
        <div class="register_oneline">
	        <div class="register_text">
	        	验证码
	        	<span class="register_redstar">*</span>
	        </div>
	        <div class="float_left">
	        	<input class="inputBgLine vercode_input1" 
	        	       tabindex='6' type="text" name="registerVO.verifycode" 
	        	       size="8" id="registerVO.verifycode" value="" onblur="checkVerifyCode();" onfocus="clearSysMsg();"/> 
	        </div>
	        <!--tips-->
	        <div class="register_tips" id="js_tab_tips" >
	        	<a href="javascript:void(0);" onclick="loadimage();">
	        	   <img class="code_img"   id="verifycodeimage" src="randomcode.jpg" 
	        	         title="点击图片换一个">
	        	  <img class="code_image_refresh" src="/accounts/images/refresh.png">
	        	</a>
	        </div>
	        <span class="redtip1" id="verifyCapcodeinfo">
	             
	        </span>
	        <div class="clearBoth"></div>
		</div>
		
		<!-- verify code -->
		<div class="register_oneline">
			<div class="register_text">
				短信验证码
				<span class="register_redstar">*</span>
			</div>
			<input type="text" tabindex='7' id="registerVO.smsVerifycode" name="registerVO.smsVerifycode"
				size="5" class="inputBgLine phone_vercode_input" onfocus="clearSysMsg();" /> <input
				id="sendButton" tabindex='8' type="button"
				class="inputBgLine phone_button"
				value="获取验证短信"
				onclick="javascript:sendVerifyCode();" /> <span class="redtips"
				id="verifycodeinfo">  </span>
		</div>

		<div class="tips_main" id="phone_phone_tips" style="display: none">
			<div class="tips_text">
				<img id="dottips9" src="/accounts/images/dot_blove.gif" border="0" />
				电话号码。
			</div>
		</div>

		<div class="tips_main" id="phone_pwd_tips" style="display: none">
			<div class="tips_text">
				 	
	    			密码至少应当包含8个字符。
	    		
			</div>
		</div>
		<div class="tips_main" id="phone_repwd_tips" style="display: none">
			<div class="tips_text">
				<img id="dottips8" src="/accounts/images/dot_blove.gif" border="0" />
				请重复输入上面的密码。
			</div>
		</div>

		<div class="clearBoth"></div>
		<div class="register_agree" style="padding:5px 0 0 0;">
			<div class="register_text" style="width: 11px;"> </div>
			<!-- <input type="checkbox" tabindex='7' class="agree_input" id="agreement" name="agreement" value="yes" onclick="javascript:toAgree(this);" />  -->
			<input type="checkbox" name="agreement" tabindex="9" value="yes" onclick="javascript:toAgree(this);" style="margin-left: 10px;" class="agree_input" id="agreement">&nbsp;	
			<span class="register_redstar">*</span>
			我已阅读并同意<a href="javascript:popu(0);">华为公司用户注册协议</a>和<a href="javascript:popu(1);">隐私声明</a>
			<!-- modify by cwx341547 20160321 -->
			
		</div>
		 <div>
	    <span class="redtip1" style="color: red;padding-left:180px;" id="errMsgNotAgreed">
             
	     </span>  
		 <div class="clearBoth"></div>
	 </div>
		<input tabindex='10' type="button" id="regbtn"
			class="sub_bottom register_submit" name="regbtn" style="margin:10px 0 0 176px;"
			value="注册" disabled
			onclick="javascript:userRegister();" />
</div>

</div>

<script type="text/javascript">

var language ="zh_CN";

var passIMG = '<img id="correctips" src="/accounts/images/icons_right.png" border="0"/>';
window.onload=function(){
	//加载完毕，执行代码
	init();
}

function init() {
	var select = document.getElementById("countryCodeSelect");
	select.options[select.options.length] = new Option("--"+"请选择"+"--","");
	buildOptions(select, language);
	
	var countryCode = $.trim($("input[name='registerVO.countryCode']").val());
	if(''!=countryCode){
		countryCode = "+"+$.trim(countryCode.replace("+",""));
		$("input[name='registerVO.countryCode']").val(countryCode);
	}
	var countryName = "country.code.China";
	setCountryByCountryCode(countryCode,countryName);
	cleanCountryCodeMsgForPC();
	var agreemnet = document.getElementById("agreement");
	toAgree(agreemnet);
}

function setCountryCodeByCountry(country) {
	var input = document.getElementById("registerVO.countryCode");
	var code = countryCodeOfCountry(country, language);
	input.value = code;
	cleanCountryCodeMsgForPC();
}
/**
function setCountryByCountryCode(code) {
	var select = document.getElementById("countryCodeSelect");
	var index = indexCountryCode(code);
	if(index != -1){
		select.value = select.options[index].value;
	}
}*/
function setCountryByCountryCode(code,name) {
	var select = document.getElementById("countryCodeSelect");
	code = $.trim(code);
	if("" == code){
		index = 0;
	}
	else{
	     code = "+"+code.replace("+","");
		 index = indexCountryCode(code,name);
	}
	if(index != -1){
		select.value = select.options[index].value;
	}
}

function isValidCountryCode(countryCode) {
	var error = '无效的国家代码。';
	
	countryCode =$.trim(countryCode);
	if(''!=countryCode){
		countryCode = "+"+$.trim(countryCode.replace("+",""));
		$("input[name='registerVO.countryCode']").val(countryCode);
	}
	
	if(countryCode.length < 2) {
		return error;
	} else if(countryCode.charAt(0) != '+'){
		return error;
	}
	for(var i = 1;i < countryCode.length;++i) {
		var ch = countryCode.charAt(i);
		if(ch < '0' || ch > '9') {
			return error;
		}
	}
	return "";
}

/**
 *机     能：验证手机号码是否已经验证过
 *
 *名     称：btnVerifyMobile_onClick
 *
 *参     数：无
 */
function btnVerifyMobile_onClick(){
	document.getElementById("spanofficephoneinfo").innerHTML = '';
	var countryCode =document.getElementById("registerVO.countryCode").value;
	var phone =document.getElementById("registerVO.officePhone").value;
	var telephoneNumber = countryCode+" "+phone;
	telephoneNumber = escape(encodeURIComponent(telephoneNumber));
	var errorMessage = isValidPhone(phone);
	if(errorMessage == ""){
		$.ajax({
		type:"post",
			url:"/accounts/register.do?method=checkIsVerifiedPhone",
			datatype:"html",
			data:"telephoneNumber=" + telephoneNumber,
			success:function(msg){
				if(msg == "1"){
					document.getElementById("spanofficephoneinfo").innerHTML = '手机号码已经被注册。';
					return false;
				} else if(msg == "0"){
					document.getElementById("spanofficephoneinfo").innerHTML = passIMG;
				}
			} 
		});
	}else{
		checkOfficePhone();
	}	
}


function checkOfficePhone(){
	var phone =document.getElementById("registerVO.officePhone").value;
	var errorMessage = isValidPhone(phone);
	if(errorMessage != '') {
		document.getElementById("spanofficephoneinfo").innerHTML = errorMessage;
	}else{
		var xmlHttpRequest = createXMLHttpRequest();
		if(xmlHttpRequest != null) {
			var newUrl = "/accounts/register.do?method=checkAccount&registerType=1&user_id="+phone;
			xmlHttpRequest.open("post", newUrl, true);
			xmlHttpRequest.send(null);
			xmlHttpRequest.onreadystatechange = function() {
				processAccountRequest(xmlHttpRequest);
			}
		}
	} 
}

function processAccountRequest(xmlHttpRequest) {
	if (xmlHttpRequest.readyState == 4 && xmlHttpRequest.status == 200) { 
		var returnObj = xmlHttpRequest.responseText;
		if(returnObj == "1"){
			document.getElementById("spanofficephoneinfo").innerHTML =
				'手机号码已经被注册。';
		} else {
			document.getElementById("spanofficephoneinfo").innerHTML = passIMG;
		}
	}
}

function popu(type){
	
	//隐私声名信息展示
	if(type==1){
		var policyFold = "policy/";
		var policyUrl = "/accounts/"+policyFold+"policy.jsp"
		if(language != null && language != ""  ){
			var policyV = 'v2';
			policyUrl=policyFold+"policy_"+policyV+"_"+language+".jsp";
		}
		window.open(policyUrl,"","width=830,height=630,resizable=no,status=no,toolbar:no,scrollbars=yes");
		return;
	}
	//注册协议信息展示 
	var fold = "registration/";
	var openurl=fold+"Registration.jsp";
	if(language != null && language != "" ){
		var agreementV = 'v1';
		openurl="/accounts/"+fold+"Registration_"+agreementV+"_"+language+".jsp";
	}
	window.open(openurl,"","width=830,height=630,resizable=no,status=no,toolbar:no,scrollbars=yes");
}

function userRegister() {
	document.getElementById("regbtn").disabled=true;
	if(checkRegisterForm()) {
		document.registerInfoForm.action='/accounts/register.do?method=doPhoneRegister';
		/*var receiveInfoPush=document.getElementById("receiveInfoPush");
		if(receiveInfoPush.checked){
			document.getElementById("registerVO.isReceiveInfoPush").value = "1";
		}else{
			document.getElementById("registerVO.isReceiveInfoPush").value = "0";
		}*/
		document.registerInfoForm.submit();
	}else{
		document.getElementById("regbtn").disabled=false;
	}
}

function isContainChinese(str){
	if(str.match(/[^\x00-\xff]/ig)){
	    return true; 
	} 
	return false; 
} 

function isValidPassword(uid,pwd) {
	if(isEmpty(pwd)){
		return '密码不能为空。';
	}
	
	if(pwd.length!=trim(pwd).length){
		return '密码前后不能有空格字符。';
	}
	
	if(isContainChinese(pwd)){
		return '密码中不能包含中文或其他多字节字符。';
	}
	
	if(pwd.length<8){
		return '密码长度不能小于8位。';
	}
	if(pwd.length > 60) {
		return '密码长度不能大于60位。';
	}
	
	
	return '';
}

function checkPassword() {
	//获取账户用于校验密码是否包含账号
	var uid =document.getElementById("registerVO.officePhone").value;
	var pwd =document.getElementById("registerVO.password").value;
	var errorMessage = isValidPassword(uid,pwd);
	if(errorMessage != '') {
		document.getElementById("spanpwdinfo").innerHTML = errorMessage;
	} else {
		var xmlHttpRequest = createXMLHttpRequest();
		if(xmlHttpRequest != null) {
			var newUrl = "/accounts/register.do?method=checkPassword";
			xmlHttpRequest.open("post", newUrl, true);
			xmlHttpRequest.setRequestHeader("Content-Type" , "application/x-www-form-urlencoded");
			var appurl=GetUrlParam("appurl");
			xmlHttpRequest.send("password=" + encodeURIComponent(pwd)+"&appurl=" + encodeURIComponent(appurl));
			xmlHttpRequest.onreadystatechange = function() {
				processPasswordRequest(xmlHttpRequest);
			}
		}
	}
}

function GetUrlParam(paraName) {
　　　　var url = document.location.toString();
　　　　var arrObj = url.split("?");

　　　　if (arrObj.length > 1) {
　　　　　　var arrPara = arrObj[1].split("&");
　　　　　　var arr;

　　　　　　for (var i = 0; i < arrPara.length; i++) {
　　　　　　　　arr = arrPara[i].split("=");

　　　　　　　　if (arr != null && arr[0] == paraName) {
　　　　　　　　　　return arr[1];
　　　　　　　　}
　　　　　　}
　　　　　　return "";
　　　　}
　　　　else {
　　　　　　return "";
　　　　}
}

function processPasswordRequest(xmlHttpRequest) {			
	if (xmlHttpRequest.readyState == 4 && xmlHttpRequest.status == 200) { 
		var returnObj = xmlHttpRequest.responseText;
		if(returnObj==1){
			document.getElementById("spanpwdinfo").innerHTML = '该密码过于简单，存在安全风险，请更换一个。';
		} else {
			document.getElementById("spanpwdinfo").innerHTML = passIMG;
		}
	}
}

function isValidRepassword(pwd,repwd) {
 	if(isEmpty(repwd)){
		return '确认密码不能为空。'; 
	}
	if(pwd!=repwd){
		return '确认密码和密码不一致。'; 
	}
	return '';
}

function checkRepassword() {
	var pwd = document.getElementById("registerVO.password").value;
	var repwd = document.getElementById("registerVO.repassword").value;
	var errorMessage = isValidRepassword(pwd,repwd);
	if(errorMessage != ''){
		document.getElementById("spanrepwdinfo").innerHTML = errorMessage;
	} else {
 		document.getElementById("spanrepwdinfo").innerHTML = passIMG;
	}
}

function isValidPhone(phone) {
	
    if(isEmpty(phone)) {
		return '手机号码不能为空。';
    }
    
    var str=/^[0-9]*$/;
    if(!str.test(phone)){
		return '手机号码格式无效。';
	}
    
    if(phone.length<6||phone.length>30){
		return "手机号码长度不能小于6且不能大于30。";
    }
    var firstChar = phone.substring(0,1);
    if(firstChar == '0'){  
    	var countryCode = $("input[name='registerVO.countryCode']").val();
    	if("+225"==countryCode || "+241" == countryCode || "+242" == countryCode){
    		return '';
    	}
 	   return "手机号码不能以0开头。";
    }
	return '';
}

function checkCountryCode() {
	 var countryCode =document.getElementById("registerVO.countryCode").value;
	var errorMessage = isValidCountryCode(countryCode);
	if(errorMessage != '') {
		document.getElementById("spancountrycode").innerHTML = errorMessage;
	} else {
		document.getElementById("spancountrycode").innerHTML = passIMG;
    }
}
function isValidVerifyCode(verifyCode) {
	if(isEmpty(verifyCode)) {
		return '验证码不能为空。';
	}
	return '';
}

function checkRegisterForm(){
	var form = document.registerInfoForm;	
	var errorMessage = '';
	var staticCheckPass = true;
	
	//Country Code
	errorMessage = isValidCountryCode(document.getElementById("registerVO.countryCode").value);
	if(errorMessage != '') {
		document.getElementById("spancountrycode").innerHTML = errorMessage;
		staticCheckPass = false;
	} else {
		document.getElementById("spancountrycode").innerHTML = passIMG;
	}
	
	//Phone Number
	if((errorMessage = isValidPhone(document.getElementById("registerVO.officePhone").value)) != '') {
		document.getElementById("spanofficephoneinfo").innerHTML = errorMessage;
		staticCheckPass = false;
	} else {
		document.getElementById("spanofficephoneinfo").innerHTML = passIMG;
	}
	
	//Password
	if((errorMessage = isValidPassword(document.getElementById("registerVO.officePhone").value,document.getElementById("registerVO.password").value)) != '') {
		document.getElementById("spanpwdinfo").innerHTML = errorMessage;
		staticCheckPass = false;
	} else {
		document.getElementById("spanpwdinfo").innerHTML = passIMG;
	}
	
	//Confirm Password
	if((errorMessage = isValidRepassword(document.getElementById("registerVO.password").value,document.getElementById("registerVO.repassword").value)) != '') {
		document.getElementById("spanrepwdinfo").innerHTML = errorMessage;
		staticCheckPass = false;
	} else {
		document.getElementById("spanrepwdinfo").innerHTML = passIMG;
	}
	
	if((errorMessage = isValidVerifyCode(document.getElementById("registerVO.smsVerifycode").value)) != '') {
		document.getElementById("verifycodeinfo").innerHTML = errorMessage;
		staticCheckPass = false;
	}
	
	if(staticCheckPass == false) {
		window.location.hash = "message";
		window.location = window.location;
	//	document.getElementById("spanmessage").innerHTML = 
	//		"很抱歉，您所提供的信息无效。请再试一次。"
	}
	return staticCheckPass;
}

function loadimage(){
	$('#verifycodeimage').hide().attr('src', '/accounts/randomcode.jpg?' + Math.floor(Math.random()*100) ).fadeIn();
	try{
	  document.getElementById("registerVO.verifycode").value="";
	  document.getElementById("verifycodeinfo").innerHTML="";
	}catch(e){}
}

function checkVerifyCode(){
	var verifyCode = document.getElementById("registerVO.verifycode").value;
	var errorMessage = isValidVerifyCode(verifyCode);
	if(errorMessage != '') {
		document.getElementById("verifyCapcodeinfo").innerHTML=errorMessage;
		return false;
	} 
	document.getElementById("verifyCapcodeinfo").innerHTML='';
    return true;
}

function sendVerifyCode() {
	
	//校验图形验证码
	if(!checkVerifyCode()){
		return ;
	}
	
	var countryCode = document.getElementById("registerVO.countryCode").value;
	var mobile = document.getElementById("registerVO.officePhone").value;
	
	countryCode = encodeURIComponent(countryCode);
	mobile = encodeURIComponent(mobile);
	
	var errorMessage = isValidPhone(mobile);
 
	var pcode = document.getElementById("pcode").value;
 
	if(errorMessage != "" ){
		document.getElementById("spanofficephoneinfo").innerHTML = errorMessage;
	}else{
		var sendButton = document.getElementById("sendButton");
		sendButton.disabled = true;
		//获取输入的图形验证码的值
	    var verifyCode = $("input[name='registerVO.verifycode']").val();
		
		var xmlHttpRequest = createXMLHttpRequest();
		if(xmlHttpRequest != null) {
 
			var newUrl = "/accounts/sendsms?countryCode=" + countryCode + "&pcode=" + pcode + "&mobile=" + mobile +"&verifyCode="+verifyCode + "&id=" + (new Date().getTime());
 
			xmlHttpRequest.open("get", newUrl, true);
			xmlHttpRequest.send(null);
			xmlHttpRequest.onreadystatechange = function() {
				processVerifyCodeRequest(xmlHttpRequest);
			}
		}
	}
}

function processVerifyCodeRequest(request) {
	var sendButton = document.getElementById("sendButton");
	if (request.readyState == 4 && request.status == 200) {
		var returnObj = request.responseText;
		if(returnObj == "0"){
			var sendButton = document.getElementById("sendButton");
			sendButton.disabled = true;
			ticker();
			return true;
		} 
		else if(returnObj == "1"){
			var msg = '验证码错误。';
			//刷新图形验证码
			loadimage();
			$("#verifyCapcodeinfo").html(msg);
		}
		else {
			document.getElementById("spanmessage").innerHTML = returnObj;
		}
		sendButton.disabled = false;
	}
	
	return false;
}

function ticker() {
	var locked = 60;
	function tick() {
		var sendButton = document.getElementById("sendButton");
		if(locked > 0) {
			--locked;
			sendButton.value = '重新发送(' + locked　+ ')';
		} else {
			sendButton.value = "获取验证短信";
			sendButton.disabled = false;
			clearInterval(ticking);
		}
	}
	var ticking = setInterval(tick,1000);
}

function clearSysMsg(){
	document.getElementById("spanmessage").innerHTML = '';
}
</script>


					
					
					
				
				
			<div style="border-left:1px #e8e8e8 solid;border-right:1px #e8e8e8 solid;;padding-top:50px;border-radius:0 0 3px 3px;">
				
					<div style="background: #efefef;font-size: 12px;color: #666;padding: 10px 15px;text-align: center;border-radius:0 0 3px 3px;">
						<img style="display: inline-block;vertical-align: middle;" src="/accounts/images/info-medium.png"/>
						<span style="width: 90%;text-align: left;display: inline-block;margin-left:5px;vertical-align: middle;">Uniportal是华为公司对外提供身份认证的唯一入口，在使用华为公司的其他对外服务时，您的Uniportal帐号和登录信息会被共享。</span>
					</div>
					
			</div>
		<div style="height: 2px" id="content_bottom"></div>
	</div>
	
	<div id="footer">
		 
  版权所有&nbsp;&copy;&nbsp;华为技术有限公司 1998-2019。保留一切权利。
		</div>
	</div>

</form>
</body>
</html>

<script>


/**
 *机     能：跳转对应注册页面
 *
 *名     称：switchto
 *
 *参     数：method   方法名
 */
function switchto(method){
	var loc = "/accounts/register.do?method=toRegister&regsiterMethod="
	loc += method;
	loc += "&appurl="+"https%3A%2F%2Fwww.huawei.com%2Fcn%2F";
	window.location = loc ;
}


/**
 *机     能：切换语种
 *
 *名     称：changeLanguage
 *
 *参     数：lang   语种
 */
function changeLanguage(lang) {
	document.registerInfoForm.method.value = "changeLang";
	document.registerInfoForm.lang.value = lang;
	document.registerInfoForm.submit();
}
</script>